/**
 * Generali Solutions d'assurances - Tous droits réservés &copy; 2007 - 2010
 */
package fr.generali.accueilclient.contrat.builder;

import fr.generali.accueilclient.contrat.om.IConsultContrat;

/**
 * @author Holmes Kelly
 */
public class ConsultContratDirector {

    /**
     * 
     */
    private IConsultContratBuilder consultContratBuilder = null;

    /**
     * @param consultContratBuilder consultContratBuilder
     */
    public ConsultContratDirector(IConsultContratBuilder consultContratBuilder) {
        this.consultContratBuilder = consultContratBuilder;
    }

    /**
     * construction de la consultation contrat
     */
    public void constructConsultContrat() {

        consultContratBuilder.buildAdresseSelected();
        consultContratBuilder.buildCategorieStatistique();
        consultContratBuilder.buildCodeProduit();
        consultContratBuilder.buildCodeSituation();
        consultContratBuilder.buildIdentifiantRIB();
        consultContratBuilder.buildLibelleModePrelevement();
        consultContratBuilder.buildModePrelevement();
        consultContratBuilder.buildNatureRecouvrement();
        consultContratBuilder.buildNumeroContrat();
        consultContratBuilder.buildNumOrdreAdresse();
        consultContratBuilder.buildNumOrdreRIB();
        consultContratBuilder.buildPayeur();
        consultContratBuilder.buildPropag();
        consultContratBuilder.buildRibSelected();
        consultContratBuilder.buildSocieteDuGroupe();
        consultContratBuilder.buildSouscripteur();
        consultContratBuilder.buildSystemeOrigine();
    }

    /**
     * @return consultContrat
     */
    public IConsultContrat getConsultContrat() {

        return consultContratBuilder.getConsultContrat();
    }
}
